﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// fishMgr只管逻辑，gameMgr管初始化
/// </summary>
public class FishMgr : game_manager<FishMgr> {

    private new void Awake()
    {
        base.Awake();
        Enter_Login();
    }

    
    public void Enter_Login()
    {
        UIMgr.Instance.OpenWindow("LoginUI");
        sound_manager.Instance.play_music("sounds/bgm_scene1");
    }

    public void Enter_Choose()
    {
        UIMgr.Instance.CloseWindow("LoginUI");
        UIMgr.Instance.OpenWindow("ChooseUI");
        sound_manager.Instance.play_music("sounds/bgm_scene2");
    }
}
